package top.hmtools.ckfinder.beans.commons;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@XmlRootElement(name="FolderBean")
public class FolderBean {

	@XmlAttribute(name="name")
	private String name;
	
	@XmlAttribute(name="hasChildren")
	private boolean hasChildren;
	
	@XmlAttribute(name="acl")
	private int acl;

	@XmlTransient
	public String getName() {
		return name;
	}

	public FolderBean setName(String name) {
		this.name = name;
		return this;
	}

	@XmlTransient
	public boolean getHasChildren() {
		return hasChildren;
	}

	public FolderBean setHasChildren(boolean hasChildren) {
		this.hasChildren = hasChildren;
		return this;
	}

	@XmlTransient
	public int getAcl() {
		return acl;
	}

	public FolderBean setAcl(int acl) {
		this.acl = acl;
		return this;
	}
	
	
}
